package com.sz.service.impl;

import com.sz.dao.AdminUserDao;
import com.sz.entity.AdminUser;
import com.sz.service.AdminUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AdminUserServiceImpl implements AdminUserService {

    @Resource
    private AdminUserDao adminUserDao;

    @Override
    public AdminUser getAdminByNamePwd(AdminUser adminUser) {
        return adminUserDao.getAdminByNamePwd(adminUser);
    }
}
